package com.hbnu.ysc.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
//@ToString
public class BillRecord {
    String type;
    String userOperation;
    Double amount;
    String targetConsumption;
    LocalDateTime createTime;

    @Override
    public String toString() {
        return "BillRecord{" +
                "操作类型='" + type + '\'' +
                ", 操作用户='" + userOperation + '\'' +
                ", 金额=" + amount +
                ", 消费目标='" + targetConsumption + '\'' +
                ", 时间=" + createTime +
                '}';
    }


}
